package com.ingsing.user.service.impl;

import com.ingsing.user.model.po.UserImg;
import com.ingsing.user.mapper.UserImgMapper;
import com.ingsing.user.service.IUserImgService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: NALHOUG
 * @time: 2019/11/2 10:34
 * @explain:
 */
@Service
public class UserImgServiceImpl implements IUserImgService {
    @Resource
    private UserImgMapper userImgMapper;

    @Override
    public int newUserImg(UserImg userImg) {
        return userImgMapper.insert(userImg);
    }
}
